<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link href="../../favicon.ico" rel="icon">

    <title>视频信息管理系统</title>
	 <!-- Bootstrap core CSS js -->

	<link href="Home/View/assets/css/bootstrap.min.css" rel="stylesheet">
	<link href="Home/View/assets/css/play.css" rel="stylesheet">
	<link href="Home/View/assets/css/offcanvas.css" rel="stylesheet">
    <link href="Home/View/assets/css/style.css" rel="stylesheet">
	
   
    <script src="Home/View/assets/js/ie-emulation-modes-warning.js"></script>


	<script src="Home/View/assets/js/jquery.min.js"></script>
    <script src="Home/View/assets/js/bootstrap.min.js"></script>
    <script src="Home/View/assets/js/ie-emulation-modes-warning.js"></script>

</head>

<body>﻿
<nav class="navbar navbar-fixed-top navbar-inverse">
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button class="navbar-toggle collapsed" aria-expanded="false" type="button" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
     
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li><a href="index.php">首页<span class="sr-only">(current)</span></a></li>
								
        <?php 
        
        foreach ($getCartoonType as $one) {
            echo '<li><a href="index.php?c=list&m=index&id='.$one['tid'].'">'.$one['typename'].'</a></li>';
        } ?>
          </ul>
        
      
      <form method="post" class="navbar-form navbar-left" role="search" action="index.php?c=search&m=index">
        <div class="form-group">
          <input name="key" class="form-control" type="text" placeholder="Search">
        </div>
        <button class="btn btn-default" type="submit">搜索</button>
      </form>
       <ul class="nav navbar-nav navbar-right">
				
      <ul class="nav navbar-nav navbar-right">
        <li><a href="login.html" data-toggle="modal" data-target="#myModal1">登录</a></li>
        <form  method="post" class="form-horizontal" action="index.php?c=index&m=login" enctype="multipart/form-data" >
        <div class="modal fade" id="myModal1" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
      <h4 class="modal-title">登录</h4>
      </div>
      <div class="container">
      <div class="row">
      <div class="modal-body">
        <div class="form-group">
            <label for="username" class="col-md-2 col-xs-3 control-label">用户名：</label>
            <div class="col-md-3 col-xs-2">
            <input name="username" type="text" class="form-control" id="username"  placeholder="用户名" required>
            </div>
          </div>
          <div class="form-group">
            <label class="col-md-2 col-xs-3 control-label" for="password">密码：</label>
            <div class="col-md-3 col-xs-2">
            <input name="password" type="password" class="form-control" id="password" placeholder="密码" required>
            </div>
          </div>
          </div>
          </div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
        <button type="submit" class="btn btn-primary">login</button>
      </div>
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
</form>
       <!--  <li><a href="reg.php" >注册</a></li> -->
      <!-- Button trigger modal  模态框-->
      <li><a href="user.html" data-toggle="modal" data-target="#myModal">注册</a></li>
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>


<form  method="post" class="form-horizontal" action="index.php?c=index&m=register" enctype="multipart/form-data" >
<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="myModalLabel">注册</h4>
      </div>
      <div class="modal-body">
      <!-- body里的东西 -->
       <div class="container">
      <div class="row">
        <!-- //这里添加代码 -->
        <h1>用户注册</h1>
        
          <div class="form-group">
            <label for="username" class="col-md-2 col-xs-3 control-label">用户名：</label>
            <div class="col-md-3 col-xs-2">
            <input name="username" type="text" class="form-control" id="username"  placeholder="用户名" required>
            </div>
          </div>
          <div class="form-group">
            <label class="col-md-2 col-xs-3 control-label" for="password">密码：</label>
            <div class="col-md-3 col-xs-2">
            <input name="password" type="password" class="form-control" id="password" placeholder="密码" required>
            </div>
          </div>
          <div class="form-group">
            <label class="col-md-2 col-xs-3 control-label" for="gender">性别：</label>
            <div class="col-md-3 col-xs-2">
              <label class="radio-inline">
                <input name="gender" type="radio" value="0" id="gender" checked>男
              </label>
              <label class="radio-inline">
                <input name="gender" type="radio" value="0" id="gender" checked>女
              </label>
            </div>
          </div>
          <div class="form-group">
            <label for="birthdate" class="col-md-2 col-xs-3 control-label">生日：</label>
            <div class="col-md-3 col-xs-2">
            <input name="birthdate" type="date" class="form-control" id="birthdate"  placeholder="生日">
            </div>
          </div>
          
          <div class="form-group">
            <label class="col-md-2 col-xs-3 control-label" for="hobby">爱好：</label>
            <div class="col-md-3 col-xs-2">
            <label class="radio-inline">
              <input type="checkbox" name="hobby[]" value="旅游">旅游
              <input type="checkbox" name="hobby[]" value="登山">登山
              <input type="checkbox" name="hobby[]" value="健身">健身
              <input type="checkbox" name="hobby[]" value="上网">上网
              <input type="checkbox" name="hobby[]" value="游泳">游泳
            </label>
            </div>

          </div>
          <div class="form-group">
            <label class="col-md-2 col-xs-3 control-label" for="degree">学历:</label>
            <div class="col-md-3 col-xs-2">
              <select name="degree" class="form-control">
                <option value="0">请选择</option>
                <option value="1">高中</option> 
                <option value="2">大学</option>
                <option value="3">研究生</option>  
                <option value="4">博士生</option>
              </select>
            </div>
          </div>

          <div class="form-group">
            <label class="col-md-2 col-xs-3 control-label" for="intro">自我介绍：</label>
            <div class="col-md-3 col-xs-2">
              <textarea name="intro" cols="40" rows="5"></textarea>
            </div>
          </div>
          
          <div class="form-group">
            <label class="col-md-2 col-xs-3 control-label" for="pic">头像：</label>
            <div class="col-md-3 col-xs-2">
              <input name="pic" type="file" id="pic">
            </div>
          </div>
      </div>   
    </div>
    <div class="modal-footer">
            <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
            <button type="submit" class="btn btn-primary">login</button>
          </div>

       <!--body里的东西结束--> 
      </div>  
      
    </div>
  </div>
</div></form> 

<!-- /登录模态框结束 -->

<div class="container">

    <div class="row row-offcanvas row-offcanvas-right">

        <div class="col-xs-12 col-sm-12">


            <div class="row box">
                <div class="col-md-4 text-center">
                  <!-- <img width="200" height="250" src="admin/images/'.$one['pic'].'"> -->
<!-- 点击标题显示新窗口中的视频-->
<div class="theme-buy">
  <a class="theme-login" href="javascript:;">

  <?php

foreach ($getCartoonByid as $key) {
  # code...
}
  echo '<img width="200" height="250" src="./upload/'.$key['pic'].'">';

  

?>
   
    <h2  title="点击这里可在线播放~" class="brand-name"><?php echo $key['name']; ?></h2>
    <!-- <ul class="list-inline row text-center">
    </ul> -->
  
  
     </div>
		
					<!-- 显示总评分-->
			<ul class="list-inline row text-center">
          <li>
          <h4>影片评分：</h4>
          </li>
          5.0 
      </ul>
		<!-- 显示总评分 结束-->

          </div>
				  <div class="col-md-8 text-center">

                  <table class="table">
					<tbody><tr>
					<td>专栏</td>
					<td><?php  echo $key['name'];  ?></td>

					</tr>
							<tr>
					<td>上传时间</td>
					<td><?php  echo $key['uploadtime'];  ?></td>

					</tr>

							<tr>
					<td>点击次数</td>
					<td><?php  echo $key['hint'];  ?></td>

					</tr>
					<tr>
					<td>类别</td>
					<td><?php  echo $key['tid'];  ?></td>

					</tr>
					<!-- <tr>
					<td>下载次数</td>
					<td> <?php  echo $key['downtimes'];  ?></td>

					</tr> -->
						<tr>
					<td>有事找站长</td>
					<td><a href="mailto:zhouhaibo@neusoft.edu.cn">意见箱</a>
					</td>

					</tr>

					<tr>
					<td>下载地址</td>
					<td> <a href="<?php  echo $key['address'];  ?>">点击这里下载</a>
					</td>

					</tr>
						<tr>
					<td>评分</td>
					<td>
             
	<h3><a onclick="func(25)" href="#" data-toggle="modal" data-target="#login">登录</a>后可以评分</h3>
							</td>

					</tr>
				  </tbody></table>

                </div>

            </div>
            <!--/row-->
            <div class="row box">

                <div class="col-lg-12">
                    <h3 class="intro-text text-center">内容简介</h3>
					          <td><?php  echo $key['intro'];  ?></td>
                </div>
            </div>


<div class="row box">

                <div class="col-md-12">

                    <h3 class="intro-text text-center">暂无留言</h3>
					
	     		</div>
</div>
	 <div class="row box">
                <div class="col-lg-12" style="align:center;">
	<h3><a onclick="func(25)" href="#" data-toggle="modal" data-target="#login">登录</a>后可以发表留言</h3>
	</div>
	</div>

        </div>    
    </div>
  
</div>
      <hr>

    <footer class="mlist">
    <p> 视频网站© 大连东软信息学院 2015</p>
    </footer>


<!--/.container-->


<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->


<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->

</body>
</html>